#ifndef EXTQTSHARE_H
#define EXTQTSHARE_H

#include "ExtQtShare_global.h"
#include <string>
#include <thread>
#include <functional>

class EXTQTSHARE_EXPORT ExtQtShare
{
public:
    ExtQtShare();
    bool init();
    void registerCountChangedCallBack(std::function<void(int)> callback);
    std::string hello();

private:
    std::thread *m_mainThread;
    std::function<void(int)> m_countChangedCallBack;
};

#endif // EXTQTSHARE_H
